﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using GongXianDCUI.Models;
using GongXianDCUI.BLL;

namespace GongXianDCUI.Controllers
{
    public class ImgLunBoController : Controller
    {       
        public PartialViewResult IndexImgLunBo()
        {
            //读取数据库设置的轮播图片
            ArticleBLL bll = new ArticleBLL();
            //基层动态
            List<Article> list = bll.GetArticleList(300,true).ToList();
            return PartialView(list);
        }
    }
}